package com.mjkj.apis;

import com.mjkj.core.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "alibaba-payment9001")
public interface AlibabaPayFeignApi {
    @GetMapping("/pay/nacos/{id}")
    public Result getPaymentById(@PathVariable(value = "id") Long id);
}
